﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Pagination.ascx.cs" Inherits="UserControls_Pagination" %>
<p>
	Page
	<asp:Label ID="currentPageLabel" runat="server" />
	of
	<asp:Label ID="howManyPagesLabel" runat="server" />
</p>
<ul class="pagination">
	<li>
		<asp:HyperLink ID="previousLink" runat="server">Previous</asp:HyperLink>
	</li>
	<asp:Repeater ID="PagesRepeater" runat="server">
		<ItemTemplate>
			<li>
				<asp:HyperLink ID="pagelink" runat="server" Text='<%# Eval("Page") %>' NavigateUrl='<%# Eval("Url") %>' />
			</li>
		</ItemTemplate>
	</asp:Repeater>
	<li>
		<asp:HyperLink ID="nextLink" runat="server">Next</asp:HyperLink>
	</li>
</ul>